package com.hrm.mapper;

import com.github.pagehelper.Page;
import com.hrm.pojo.Employee;
import com.hrm.request.FindEmployeeRequest;
import com.hrm.vo.FindEmployeeVo;

public interface EmployeeMapper {
    Page<FindEmployeeVo> findEmployeeByInformations(FindEmployeeRequest findEmployeeRequest);

    int deleteByPrimaryKey(Integer id);

    int insert(Employee record);

    int insertSelective(Employee record);

    Employee selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Employee record);

    int updateByPrimaryKey(Employee record);
}